/*
 * @Author: dell di
 * @Date: 2022-05-21 23:07:15
 * @LastEditTime: 2022-05-23 20:30:47
 * @LastEditors: di
 * @Description:
 * @FilePath: \base-vue3.2-ts\src\router\index.ts
 */
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/MusicHome.vue')
  },
  {
    path: '/',
    name: 'watermark',
    component: () => import('@/views/warkmark/WaterMark.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
